package com.yaj.mesif.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei
 * @since 2021-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TI_COMPO_ITEM")
@ApiModel(value="TiCompoItem对象", description="")
public class TiCompoItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "シーケンスNO")
    @TableId(value = "SEQ_NO", type = IdType.AUTO)
    private Long seqNo;

    @ApiModelProperty(value = "製造オーダ番号")
    @TableField("ORDERID")
    private String orderid;

    @ApiModelProperty(value = "製造オーダID")
    @TableField("ORDERKEYID")
    private BigDecimal orderkeyid;

    @ApiModelProperty(value = "工程連番")
    @TableField("SEQUENCENUMBER")
    private BigDecimal sequencenumber;

    @ApiModelProperty(value = "構成品目コード")
    @TableField("ITEMID")
    private String itemid;

    @ApiModelProperty(value = "構成品目ID")
    @TableField("ITEMAPPLICATIONOBJECTKEYID")
    private BigDecimal itemapplicationobjectkeyid;

    @ApiModelProperty(value = "構成品目名称")
    @TableField("ITEMNAME")
    private String itemname;

    @ApiModelProperty(value = "単位")
    @TableField("UNITMEASURECODE")
    private String unitmeasurecode;

    @ApiModelProperty(value = "棚番")
    @TableField("LOCATIONNUMBER")
    private String locationnumber;

    @ApiModelProperty(value = "形式")
    @TableField("FORM")
    private String form;

    @ApiModelProperty(value = "構成品ロット管理コード")
    @TableField("LOTCONTROLCODE")
    private String lotcontrolcode;

    @ApiModelProperty(value = "ピッキング担当者")
    @TableField("PICKINGCONTACT")
    private String pickingcontact;

    @ApiModelProperty(value = "改正符号")
    @TableField("REVISIONSIGN")
    private String revisionsign;

    @ApiModelProperty(value = "標準原価材料費")
    @TableField("STANDARDMATERIALCOST")
    private BigDecimal standardmaterialcost;

    @ApiModelProperty(value = "構成部品払出保管場所コード")
    @TableField("SUPPLYSUBINVENTRYCODE")
    private String supplysubinventrycode;

    @ApiModelProperty(value = "構成部品払出保管場所名")
    @TableField("SUPPLYSUBINVENTRYNAME")
    private String supplysubinventryname;

    @ApiModelProperty(value = "供給タイプコード")
    @TableField("WIPSUPPLYTYPECODE")
    private BigDecimal wipsupplytypecode;

    @ApiModelProperty(value = "指図書印字フラグ")
    @TableField("MANUFACTURINGORDERPRINTFLAG")
    private String manufacturingorderprintflag;

    @ApiModelProperty(value = "予定出庫数")
    @TableField("REQUIREDQUANTITY")
    private BigDecimal requiredquantity;

    @ApiModelProperty(value = "実出庫数")
    @TableField("ISSUEDQUANTITY")
    private BigDecimal issuedquantity;

    @ApiModelProperty(value = "オープン数量")
    @TableField("OPENQUANTITY")
    private BigDecimal openquantity;

    @ApiModelProperty(value = "員数")
    @TableField("PERASSEMBLYQUANTITY")
    private BigDecimal perassemblyquantity;

    @ApiModelProperty(value = "換算仕掛数量")
    @TableField("CONVERSIONWIPQUANTITY")
    private BigDecimal conversionwipquantity;

    @ApiModelProperty(value = "構成部品払出保管場所略称")
    @TableField("SUPPLYSUBINVENTORYSHORTNAME")
    private String supplysubinventoryshortname;

    @ApiModelProperty(value = "製造部署ID")
    @TableField("MFGSTID")
    private String mfgstid;

    @ApiModelProperty(value = "必要日")
    @TableField("REQUIREDATE")
    private Date requiredate;

    @ApiModelProperty(value = "処理フラグ")
    @TableField("PROCESSFLAG")
    private String processflag;

    @ApiModelProperty(value = "作成日")
    @TableField("CREATIONDATETIME")
    private Date creationdatetime;

    @ApiModelProperty(value = "作成者ID")
    @TableField("CREATEUSERID")
    private BigDecimal createuserid;

    @ApiModelProperty(value = "作成者名")
    @TableField("CREATEUSEDNAME")
    private String createusedname;

    @ApiModelProperty(value = "最新更新日")
    @TableField("UPDATEDTIME")
    private Date updatedtime;

    @ApiModelProperty(value = "最新更新者ID")
    @TableField("UPDATEUSERID")
    private BigDecimal updateuserid;

    @ApiModelProperty(value = "最新更新者名")
    @TableField("UPDATEUSERNAME")
    private String updateusername;

    @ApiModelProperty(value = "出庫先コード")
    @TableField("DELIVERYID")
    private String deliveryid;

    @ApiModelProperty(value = "備考")
    @TableField("NOTES")
    private String notes;

    @ApiModelProperty(value = "レコード作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "レコード作成日時")
    @TableField(fill = FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "レコード更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "レコード更新日時")
    @TableField(fill=FieldFill.UPDATE)
    private Date updateTimestamp;


}
